/*
 * @项目名称：
 * @类名称：InsuranceMapper
 * @类描述：
 * @创建人：
 * @作者单位：xxxx软件技术有限公司
 * -------------------------------------- 
 * @创建时间：2019-03-19 15:00:48
 * @version：1.0.0
 */
package com.fy56.platform.logistics.mapper;

import com.fy56.platform.logistics.common.mapper.IBaseMapper;
import com.fy56.platform.logistics.model.Insurance;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InsuranceMapper extends IBaseMapper<Insurance>{


    /**
     * 根据业务系统业务单号，查询投保数据
     *
     * @param consignmentNumber
     * @return
     */
    public Insurance getInsuranceByConsignmentNumber(String consignmentNumber);

    public int updateInsuranceNoticeContent(Insurance insurance);

}